package cn.xiaoliu.pet.mapper;

import cn.xiaoliu.basic.mapper.BaseMapper;
import cn.xiaoliu.pet.domain.Pet;

import java.util.Map;

public interface PetMapper extends BaseMapper<Pet> {
    /**
     * 宠物上架
     * @param params
     */
    void onSale(Map<String, Object> params);

    /**
     * 宠物下架
     * @param params
     */
    void offSale(Map<String, Object> params);

    Pet loadByIdDetail(Long id);
}
